package com.rran.study.designpattern.structural.composite;

import java.math.BigDecimal;

/**
 * @author yy
 * @Type GoodsAction.java
 * @Desc
 * @date 2020/7/24 17:30
 */
public interface GoodsAction {

    void add(GoodsAction goods);

    void remove(GoodsAction goods);

    /**
     * 计算价钱
     * @return
     */
    BigDecimal acount();

}
